'use strict'
  class MessageService {
    constructor(rpc_client) {
      this.rpc_client = rpc_client
    }
    /**
    * 获取未到达的推送消息
    * @params appId 应用ID
    * @return
    */
    getNonReachedMessages(appId) {
      return this.rpc_client.request("eleme.message.getNonReachedMessages", {
        appId: appId,
      })
    }
    /**
    * 获取未到达的推送消息实体
    * @params appId 应用ID
    * @return
    */
    getNonReachedOMessages(appId) {
      return this.rpc_client.request("eleme.message.getNonReachedOMessages", {
        appId: appId,
      })
    }
}

module.exports = MessageService